package com.gu.mobileweb.service.impl;

import com.gu.mobileweb.mapper.IndexStayMapper;
import com.gu.mobileweb.model.IndexStay;
import com.gu.mobileweb.service.IndexStayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexStayServiceImpl implements IndexStayService {
    @Autowired
    private IndexStayMapper indexStayMapper;

    @Override
    public List<IndexStay> stayList() {
        return indexStayMapper.stayList();
    }
}
